package com.ykh.mybbsdemo.dao.pojo.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: YKH
 * Date: 2023-06-08
 * Time: 18:56
 */
@Data
public class ArticleMessageVo {
    @JsonSerialize(using = ToStringSerializer.class)
    private Long userId;
    private String articleTitle;
    @JsonSerialize(using = ToStringSerializer.class)
    private Long articleId;
    private String summary;
    @JsonSerialize(using = ToStringSerializer.class)
    private Long authorId;
    @JsonSerialize(using = ToStringSerializer.class)
    private String authorName;
    private Integer isRead;
}
